package br.upe.portlet.estagio.service;


/**
 * <a href="AlunoLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
 *
 * <p>
 * ServiceBuilder generated this class. Modifications in this class will be
 * overwritten the next time is generated.
 * </p>
 *
 * <p>
 * This class provides static methods for the
 * <code>br.upe.portlet.estagio.service.AlunoLocalService</code>
 * bean. The static methods of this class calls the same methods of the bean
 * instance. It's convenient to be able to just write one line to call a method
 * on a bean instead of writing a lookup call and a method call.
 * </p>
 *
 * @author Brian Wing Shun Chan
 *
 * @see br.upe.portlet.estagio.service.AlunoLocalService
 *
 */
public class AlunoLocalServiceUtil {
    private static AlunoLocalService _service;

    public static br.upe.portlet.estagio.model.Aluno addAluno(
        br.upe.portlet.estagio.model.Aluno aluno)
        throws com.liferay.portal.SystemException {
        return getService().addAluno(aluno);
    }

    public static br.upe.portlet.estagio.model.Aluno createAluno(
        java.lang.String matricula) {
        return getService().createAluno(matricula);
    }

    public static void deleteAluno(java.lang.String matricula)
        throws com.liferay.portal.PortalException,
            com.liferay.portal.SystemException {
        getService().deleteAluno(matricula);
    }

    public static void deleteAluno(br.upe.portlet.estagio.model.Aluno aluno)
        throws com.liferay.portal.SystemException {
        getService().deleteAluno(aluno);
    }

    public static java.util.List<Object> dynamicQuery(
        com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
        throws com.liferay.portal.SystemException {
        return getService().dynamicQuery(dynamicQuery);
    }

    public static java.util.List<Object> dynamicQuery(
        com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
        int end) throws com.liferay.portal.SystemException {
        return getService().dynamicQuery(dynamicQuery, start, end);
    }

    public static br.upe.portlet.estagio.model.Aluno getAluno(
        java.lang.String matricula)
        throws com.liferay.portal.PortalException,
            com.liferay.portal.SystemException {
        return getService().getAluno(matricula);
    }

    public static java.util.List<br.upe.portlet.estagio.model.Aluno> getAlunos(
        int start, int end) throws com.liferay.portal.SystemException {
        return getService().getAlunos(start, end);
    }

    public static int getAlunosCount()
        throws com.liferay.portal.SystemException {
        return getService().getAlunosCount();
    }

    public static br.upe.portlet.estagio.model.Aluno updateAluno(
        br.upe.portlet.estagio.model.Aluno aluno)
        throws com.liferay.portal.SystemException {
        return getService().updateAluno(aluno);
    }

    public static br.upe.portlet.estagio.model.Aluno addAluno(
        long creatorUserId, long companyId, java.lang.String screenName,
        java.lang.String emailAddress, java.util.Locale locale,
        java.lang.String firstName, java.lang.String middleName,
        java.lang.String lastName, boolean male, int birthdayMonth,
        int birthdayDay, int birthdayYear, java.lang.String matricula,
        long codigoCurso,
        com.liferay.portal.service.ServiceContext serviceContext,
        java.util.Date createDate)
        throws com.liferay.portal.PortalException,
            com.liferay.portal.SystemException {
        return getService()
                   .addAluno(creatorUserId, companyId, screenName,
            emailAddress, locale, firstName, middleName, lastName, male,
            birthdayMonth, birthdayDay, birthdayYear, matricula, codigoCurso,
            serviceContext, createDate);
    }

    public static br.upe.portlet.estagio.model.Aluno addAluno(
        long creatorUserId, long companyId, boolean autoPassword,
        java.lang.String password1, java.lang.String password2,
        boolean autoScreenName, java.lang.String screenName,
        java.lang.String emailAddress, java.lang.String openId,
        java.util.Locale locale, java.lang.String firstName,
        java.lang.String middleName, java.lang.String lastName, int prefixId,
        int suffixId, boolean male, int birthdayMonth, int birthdayDay,
        int birthdayYear, java.lang.String jobTitle, long[] groupIds,
        long[] organizationIds, long[] roleIds, long[] userGroupIds,
        long[][] userGroupRoleIds, boolean sendEmail,
        com.liferay.portal.service.ServiceContext serviceContext,
        java.lang.String matricula, long codigoCurso, java.util.Date createDate)
        throws com.liferay.portal.PortalException,
            com.liferay.portal.SystemException {
        return getService()
                   .addAluno(creatorUserId, companyId, autoPassword, password1,
            password2, autoScreenName, screenName, emailAddress, openId,
            locale, firstName, middleName, lastName, prefixId, suffixId, male,
            birthdayMonth, birthdayDay, birthdayYear, jobTitle, groupIds,
            organizationIds, roleIds, userGroupIds, userGroupRoleIds,
            sendEmail, serviceContext, matricula, codigoCurso, createDate);
    }

    public static br.upe.portlet.estagio.model.Aluno updateAluno(
        java.lang.String oldPassword, java.lang.String newPassword1,
        java.lang.String newPassword2, boolean passwordReset,
        java.lang.String reminderQueryQuestion,
        java.lang.String reminderQueryAnswer, java.lang.String screenName,
        java.lang.String emailAddress, java.lang.String openId,
        java.lang.String languageId, java.lang.String timeZoneId,
        java.lang.String greeting, java.lang.String comments,
        java.lang.String firstName, java.lang.String middleName,
        java.lang.String lastName, int prefixId, int suffixId, boolean male,
        int birthdayMonth, int birthdayDay, int birthdayYear,
        java.lang.String smsSn, java.lang.String aimSn,
        java.lang.String facebookSn, java.lang.String icqSn,
        java.lang.String jabberSn, java.lang.String msnSn,
        java.lang.String mySpaceSn, java.lang.String skypeSn,
        java.lang.String twitterSn, java.lang.String ymSn,
        java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
        long[] roleIds,
        java.util.List<com.liferay.portal.model.UserGroupRole> userGroupRoles,
        long[] userGroupIds, long[][] userGroupRoleIds,
        com.liferay.portal.service.ServiceContext serviceContext,
        java.lang.String matricula, long codigoCurso,
        java.util.Date modifiedDate)
        throws com.liferay.portal.PortalException,
            com.liferay.portal.SystemException {
        return getService()
                   .updateAluno(oldPassword, newPassword1, newPassword2,
            passwordReset, reminderQueryQuestion, reminderQueryAnswer,
            screenName, emailAddress, openId, languageId, timeZoneId, greeting,
            comments, firstName, middleName, lastName, prefixId, suffixId,
            male, birthdayMonth, birthdayDay, birthdayYear, smsSn, aimSn,
            facebookSn, icqSn, jabberSn, msnSn, mySpaceSn, skypeSn, twitterSn,
            ymSn, jobTitle, groupIds, organizationIds, roleIds, userGroupRoles,
            userGroupIds, userGroupRoleIds, serviceContext, matricula,
            codigoCurso, modifiedDate);
    }

    public static br.upe.portlet.estagio.model.Aluno getAlunoByUser(
        com.liferay.portal.model.User user)
        throws br.upe.portlet.estagio.NoSuchAlunoException,
            com.liferay.portal.SystemException {
        return getService().getAlunoByUser(user);
    }

    public static br.upe.portlet.estagio.model.Aluno getAlunoByUserId(
        long userid)
        throws br.upe.portlet.estagio.NoSuchAlunoException,
            com.liferay.portal.SystemException {
        return getService().getAlunoByUserId(userid);
    }

    public static AlunoLocalService getService() {
        if (_service == null) {
            throw new RuntimeException("AlunoLocalService is not set");
        }

        return _service;
    }

    public void setService(AlunoLocalService service) {
        _service = service;
    }
}
